<?php
/**
 * Created by PhpStorm.
 * User: YUWENXUAN
 * Date: 2017/4/10
 * Time: 16:31
 */

function __autoload($className){
    include $className.'_class.php';
}

isset($_GET["filename"]) or die("下载的文件名不存在");
!empty($_GET["filename"])or die("文件名为空");
$file = new Filec($_GET["filename"]);
$file->download();